//
//  MGShareManager.h
//  MortgageHelper
//
//  Created by zhangxiang on 16/8/23.
//  Copyright © 2016年 zhangxiang. All rights reserved.
//

#import <Foundation/Foundation.h>

//腾讯开放平台（对应QQ和QQ空间）SDK头文件
#import <TencentOpenAPI/TencentOAuth.h>
#import <TencentOpenAPI/QQApiInterface.h>

#define WeixinId @"wxdfdffdef5340c8f5"

#define QQId @"1105101920"
//微信SDK头文件
#import "WXApi.h"

#import "ZXShareViewController.h"
#import "MGConstFile.h"

#import <UIKit/UIKit.h>


#define SHAREMANAGER [MGShareManager sharemanager]

@interface MGShareManager : NSObject

+(MGShareManager *)sharemanager;




// 分享总入口

// 自定义 微信 qq 总入口
-(void)shareWithtitle:(NSString *)title description:(NSString *)description url:(NSString *)url thumbImage:(UIImage *)image onView:(UIViewController *)viewController;


// sharesdk
// ImagesArray 图片数组 （uiimage or URL）
//-(void)shareByText:(NSString *)title content:(NSString *)contentstring ImagesArray:(NSArray *)ImagesArray url:(NSString *)url Block:(void(^)(SSDKResponseState state, SSDKPlatformType platformType, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end))finshblock;



// 跳转至微信公众号 暂时 weiixn sdk 下线了这个接口 不知道要什么时候开放
-(void)shareToWeChat:(NSString *)title description:(NSString *)description url:(NSString *)url thumbImage:(UIImage *)image;

- (void)shareToQQ:(NSString *)title description:(NSString *)description url:(NSString *)url thumbImage:(UIImage *)image;
-(void)shareToWeChat;


/**
 *lzy
 */
// 微信分享图片
- (void) lzySendImageContent:(UIImage *)ScreenImage thumbImage:(UIImage *)image;
-(void)lzyShareWithtitle:(NSString *)title description:(NSString *)description url:(NSString *)url thumbImage:(UIImage *)image onView:(UIViewController *)viewController;



@end
